﻿@{
    ViewBag.Title = "QuestionBankList";
}
<link rel="stylesheet" type="text/css" href="/Content/static/h-ui/css/H-ui.min.css" />

<table class="table table-border table-bordered table-hover table-bg">
    <tr class="text-c">
        <th>题库编号</th>
        <th>阶段编号</th>
        <th>单元</th>
        <th>题型</th>
        <th>题干</th>
        <th>选项</th>
        <th>正确答案</th>
        <th>创建人</th>
        <th>创建时间</th>
    </tr>
    @foreach (var a in Model)
    {
        <tr class="text-c">
            <td>@a.QuestionId</td>
            <td>@a.StageId</td>
            <td>@a.UniteId</td>
            @if (a.TypeId == 1)
            {
                <td>单选</td>
            }
            @if (a.TypeId == 2)
            {
                <td>多选</td>
            }
            @if (a.TypeId == 3)
            {
                <td>判断</td>
            }
            <td>@a.Question</td>
            <td>@a.OptionCountent</td>
            <td>@a.TrueAnswer</td>
            <td>@a.CreatePerson</td>
            <td>@a.CreateTime</td>
        </tr>
    }
</table>
